﻿using System.ComponentModel.DataAnnotations;

namespace EditorialProyectos.Website.Models
{
    public class SignupViewModel
    {
        [Required]
        [DataType(DataType.EmailAddress)]
        public string Account { get; set; }

        [Required]
        [DataType(DataType.Password)]
        public string Password { get; set; }

        [Required]
        [DataType(DataType.Password)]
        public string ConfirmPassword { get; set; }

        [Required]
        public string Name { get; set; }

        [Required]
        public string Surname { get; set; }
    }
}